package cn.chenchao.eshop.log.dao.imp;

import cn.chenchao.eshop.common.dao.imp.TextAccess;
import cn.chenchao.eshop.log.dao.ITextLog;
import cn.chenchao.eshop.log.entity.Log;

/**
 * @encoding : UTF-8
 * @Time : 2020/11/23 12:21
 * @Author : Chen Chao
 * @File : eshop.cn.chenchao.eshop.log.dao.imp.TextLog.java
 * @Software : IntelliJ IDEA
 * @since : 1.8
 */
public class TextLog implements ITextLog {
    @Override
    public void textLog(Log log) {
        try {
            new TextAccess().insert2List(log);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
